<template>
  <div>
    <div>
      <div>父组件：</div>
      <div>
        搜索关键字： {{ searchData.keyword }} <br>
        选中的内容：{{ searchData.selectedValue }}

      </div>
    </div>
    <PropsChildren v-model="searchData"></PropsChildren>
  </div>
</template>
<script setup lang="ts">
import PropsChildren from '@views/props/single-props-update/PropsChildren.vue'

const searchData = ref({
  keyword:'',
  placeholder:'请输入关键字',
  options: [
    {label:'视频',value:'video'},
    {label:'文章',value:'article'},
    {label:'用户',value:'user'},
  ],
  selectedValue: 'video'
})
</script>
<style scoped></style>
